import { ConverterBase } from './base';
import { ToggleContainer } from './cc';

export class TabConverter extends ConverterBase {
    public static prefix = 'tab-';

    public async convert() {
        const node = this.createNode();

        await this.addChildren(node);

        this.appendComponent(ToggleContainer, node);

        return node;
    }
}